<template>
  <h1>属性绑定</h1>
  <input type="text" value="name">
  <input type="text" :value="name">
  <input type="text" v-bind:value="name">
  <hr>
  <a href="info">超链接1</a>
  <a :href="info" >超链接2</a>
</template>
<script setup>
import {ref} from "vue";

const name=ref('杨硕');
const info=ref('http://www.baidu.com');
info.value='http://www.qq.com';

</script>


<style scoped>

</style>